package cn.com.generaldata.os.ws.test;

import org.junit.Test;
import org.junit.runner.RunWith;
import org.nutz.json.Json;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.test.context.ContextConfiguration;
import org.springframework.test.context.junit4.SpringJUnit4ClassRunner;

import cn.com.generaldata.os.ws.intf.VersionWSInterface;

@RunWith(SpringJUnit4ClassRunner.class)
@ContextConfiguration(locations = { "/applicationContext-soap-client.xml" })
public class ReportVersionWebServiceClient {

	@Autowired
	private VersionWSInterface versionWSInterface;

	@Test
	public void testVersionYearRange() {

		System.out.println(Json.toJson(versionWSInterface.getReportVersionYearRange()));
	}

}
